﻿using Styx.Helpers;
using System.IO;
using Styx;
using Styx.Common;
using System.ComponentModel;
using DefaultValue = Styx.Helpers.DefaultValueAttribute;
using Styx.TreeSharp;

namespace BMSVMM
{
    public class CRHotKeySettings : Settings
    {
        public static readonly CRHotKeySettings myPrefs = new CRHotKeySettings();

        public CRHotKeySettings()
            : base(
                Path.Combine(Utilities.AssemblyDirectory,
                    string.Format(@"Routines/Settings/Config/Pasterke/{0}/Hunter/HotKeySettingsBMSVMM-{1}.xml", StyxWoW.Me.RealmName, StyxWoW.Me.Name))
                )
        {
        }
        public enum Keypress
        {
            NONE,
            LSHIFT,
            RSHIFT,
            LCTRL,
            RCTRL,
            LALT,
            RALT
        };

        [Setting]
        [DefaultValue(Keypress.NONE)]
        [Category("Hotkeys")]
        [DisplayName("Pause Aoe Key")]
        [Description("Pause Aoe Key")]
        public Keypress StopAoeKey { get; set; }

        [Setting]
        [DefaultValue(Keypress.NONE)]
        [Category("Hotkeys")]
        [DisplayName("Pause CR Key")]
        [Description("Pause CR Key")]
        public Keypress StopCRKey { get; set; }

        [Setting]
        [DefaultValue(true)]
        [Category("Hotkeys")]
        [DisplayName("Print Raidstyle Messages")]
        public bool PrintRaidstyleMsg { get; set; }

        [Setting, DefaultValue(Keypress.NONE)]
        [Category("Hotkeys")]
        [DisplayName("Burst Key")]
        [Description("enable/disable Routine")]
        public Keypress BurstKey { get; set; }

    }
}
